package com.sy.bean.message;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("商品分类表")
public class GoodsCategory {
    @ApiModelProperty("id")
    Integer id;

    @ApiModelProperty("类别编码")
    String code;

    @ApiModelProperty("类别名称")
    String name;

    @ApiModelProperty("创建时间")
    String createTime;

    @ApiModelProperty("是否显示")
    Integer isShow;

    @ApiModelProperty("数量")
    Integer num;

    @ApiModelProperty("父id")
    Integer parentId;

    @ApiModelProperty("子类别")
    List<GoodsCategory> children;
}
